<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
	<th:block th:include="include :: header('修改')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-perAppraisalSpec-edit" th:object="${perAppraisalSpec}">
            <input id="pkid" name="pkid" th:field="*{pkid}"  type="hidden">
			<div class="form-group">	
				<label class="col-sm-3 control-label">考核：</label>
				<div class="col-sm-8">
					<input id="appraisalId" name="appraisalId" th:field="*{appraisalId}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">：</label>
				<div class="col-sm-8">
					<input id="specId" name="specId" th:field="*{specId}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">实际绩效目标：</label>
				<div class="col-sm-8">
					<input id="actualSpecContent" name="actualSpecContent" th:field="*{actualSpecContent}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">实际权重：</label>
				<div class="col-sm-8">
					<input id="actualWeight" name="actualWeight" th:field="*{actualWeight}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">得分：</label>
				<div class="col-sm-8">
					<input id="selfScore" name="selfScore" th:field="*{selfScore}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">自评：</label>
				<div class="col-sm-8">
					<input id="selfEvaluation" name="selfEvaluation" th:field="*{selfEvaluation}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">领导打分：</label>
				<div class="col-sm-8">
					<input id="leaderScore" name="leaderScore" th:field="*{leaderScore}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">：</label>
				<div class="col-sm-8">
					<input id="createTime" name="createTime" th:field="*{createTime}" class="form-control" type="text">
				</div>
			</div>
		</form>
    </div>
    <div th:include="include::footer"></div>
    <script type="text/javascript">
		var prefix = ctx + "performance/perAppraisalSpec";
		$("#form-perAppraisalSpec-edit").validate({
			rules:{
				xxxx:{
					required:true,
				},
			},
			focusCleanup: true
		});
		
		function submitHandler() {
	        if ($.validate.form()) {
	            $.operate.save(prefix + "/edit", $('#form-perAppraisalSpec-edit').serialize());
	        }
	    }
	</script>
</body>
</html>
